﻿namespace Goooodbye.Core.SharedKernel
{
    public class PagingQuery
    {
        public int PageNum { get; set; }
        public int PageSize { get; set; }
        public string SortOrder { get; set; }

        public bool Pageable
        {
            get
            {
                return PageNum > 0 && PageSize > 0;
            }
        }
    }
}
